package com.lsz.crm.annotation;

import java.lang.annotation.*;

/**
 * 定义方法需要的对应资源的权限码
 * @Author liushizhong
 * @Date 2021/11/3 12:22
 * @Version 1.0
 */

@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface RequiredPermission {

    // 权限码
    String code() default "";
}
